package pl.edu.pb.wi.cookbook.entity;

import java.io.Serializable;

import javax.persistence.Id;

import com.googlecode.objectify.Key;

public class CookbookRecipe implements Serializable {
    private static final long serialVersionUID = -5025696896871588860L;

    @Id
    private Long id;
    private Key<Cookbook> cookbook;
    private Key<Recipe> recipe;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Key<Cookbook> getCookbook() {
        return cookbook;
    }

    public void setCookbook(Key<Cookbook> cookbook) {
        this.cookbook = cookbook;
    }

    public Key<Recipe> getRecipe() {
        return recipe;
    }

    public void setRecipe(Key<Recipe> recipe) {
        this.recipe = recipe;
    }

}
